#include <stdio.h>
#include <stdlib.h>
int main()
{
	double data[10];
	int tmp,i,j,k;
//start
void func_sort(double a[],int n);
//end
	while(scanf("%lf",&data[0])!=-1)
	{
		for(i=1; i<10; i++)
			scanf("%lf",&data[i]);
		func_sort(data,10);
		for(i=0; i<9; i++)
			printf("%.1lf ",data[i]);
		printf("%.1lf\n ",data[i]);
	}
	return 0;
}
void func_sort(double a[],int n)
{
	//start
	for(int i=0; i<10; i++)
		for(int j=i; j<10; j++)
		{
			if(a[i]<a[j])
			{
				double tmp=a[i];
				a[i] = a[j];
				a[j] = tmp;
			}
		}
	//end
}
//16 20 34 43 54 65 72 85.5 96 98.5
